package com.qili.service.supplier.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.supplier.OaData;
import com.qili.entity.supplier.OperQueryRecord;
import com.qili.entity.supplier.dto.OaReDataDTO;
import com.qili.entity.supplier.dto.OperQueryRecordDTO;
import com.qili.mapper.supplier.OaDataMapper;
import com.qili.mapper.supplier.OperQueryRecordMapper;
import com.qili.service.supplier.OaDataService;
import com.qili.service.supplier.OperQueryRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhaoyongke
 * @date 2021/4/23
 * @description
 */
@Service
public class OaDataServiceImpl extends BaseServiceImpl<OaData,String> implements OaDataService {

    @Autowired
    private OaDataMapper oaDataMapper;
    @Override
    public BaseMapper<OaData, String> getMappser() {
        return oaDataMapper;
    }

    @Override
    public int queryCount(String id) {
        return oaDataMapper.queryCount(id);
    }

    @Override
    public List<OaData> selectList(OaReDataDTO dto) {
        return oaDataMapper.selectList(dto);
    }

    @Override
    public List<OaReDataDTO> queryHtAll(OaReDataDTO dto) {
        return oaDataMapper.queryHtAll(dto);
    }
}
